<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
	<th:block th:include="include :: header('证书详情')" />
	<link href="../static/css/workboard.css" th:href="@{/css/workboard.css}" rel="stylesheet"/>
</head>

<body>
        <div class="tabsbody ">
            <div>
               <tr>
                   <td>
                       <div class="page-title">
                           <span>竣工备案证信息</span>
                       </div>
                   </td>
               </tr>
               <tr>
                 <td>
                   <table class="table table-bordered">
                     <tbody>
                       <tr>
                           <td class="tdTitle">备案证号</td>
                           <td class="tdContent" th:text="${bcrci}==null or ${bcrci.recordNumber}==null ? ' ':${bcrci.recordNumber}"></td>
                           <td class="tdTitle">审定日期</td>
                           <td class="tdContent" id="tdTime" th:text="${bcrci}==null or ${bcrci.authorizedDate}==null ? ' ':${bcrci.authorizedDate}"></td>
                       </tr>
                       <tr>
                           <td class="tdTitle">工程名称</td>
                           <td class="tdContent" th:text="${bcrci}==null or ${bcrci.engineeringName}==null ? ' ':${bcrci.engineeringName}"></td>
                           <td class="tdTitle">工程地址</td>
                           <td class="tdContent" th:text="${bcrci}==null or ${bcrci.engineeringAddress}==null ? ' ':${bcrci.engineeringAddress}"></td>
                       </tr>
                       <tr>
                           <td class="tdTitle">建筑面积</td>
                           <td class="tdContent" th:text="${bcrci}==null or ${bcrci.engineeringScale}==null ? ' ':${bcrci.engineeringScale}"></td>
                           <td class="tdTitle">结构类型</td>
                           <td class="tdContent" th:text="${bcrci}==null or ${bcrci.structureType}==null ? ' ':${bcrci.structureType}"></td>
                       </tr>
                       <tr>
                           <td class="tdTitle">建设单位</td>
                           <td class="tdContent" th:text="${bcrci}==null or ${bcrci.constructUnit}==null ? ' ':${bcrci.constructUnit}"></td>
                           <td class="tdTitle">勘察单位</td>
                           <td class="tdContent" th:text="${bcrci}==null or ${bcrci.surveyUnit}==null ? ' ':${bcrci.surveyUnit}"></td>
                       </tr>
                       <tr>
                           <td class="tdTitle">设计单位</td>
                           <td class="tdContent" th:text="${bcrci}==null or ${bcrci.designUnit}==null ? ' ':${bcrci.designUnit}"></td>
                           <td class="tdTitle">施工单位</td>
                           <td class="tdContent" th:text="${bcrci}==null or ${bcrci.constructionUnit}==null ? ' ':${bcrci.constructionUnit}"></td>
                       </tr>
                       <tr>
                           <td class="tdTitle">监理单位</td>
                           <td class="tdContent" th:text="${bcrci}==null or ${bcrci.supervisionUnit}==null ? ' ':${bcrci.supervisionUnit}"></td>
                           <td class="tdTitle">备案机构</td>
                           <td class="tdContent" th:text="${bcrci}==null or ${bcrci.inChargeDepartment}==null ? ' ':${bcrci.inChargeDepartment}"></td>
                       </tr>
                       <tr>
                           <td class="tdTitle">修改记录</td>
                           <td colspan="3">
                           	   <div>
                    <table class="ListStyle" cellspacing="0" cellpadding="0" rules="all" border="0" style="border-width:0px;width:100%;border-collapse:collapse;">
                        <tbody>
                            <tr th:if="${bcrci!=null && bcrci.completionCertChangeInfoList !=null && bcrci.completionCertChangeInfoList.size()!=0}">
                                <th class="ListNewHead_Center" scope="col" style="width:50px;">序号</th>
                                <th class="ListNewHead_Center" scope="col" style="width:100px;">修改人</th>
                                <th class="ListNewHead_Center" scope="col" style="width:150px;">单位</th>
                                <th class="ListNewHead_Center" scope="col" style="width:100px;">修改时间</th>
                                <th class="ListNewHead_Center" scope="col" style="width:200px;">修改内容</th>
                            </tr>
                            <tr th:if="${bcrci!=null && bcrci.completionCertChangeInfoList !=null && bcrci.completionCertChangeInfoList.size()!=0}" th:each="ccci,stat : ${bcrci.completionCertChangeInfoList}">
                                <td class="ListItem_Center" style="width:50px;" th:text="${stat.count}">
                                </td>
                                <td class="ListItem_Center" style="width:100px;" th:text="${ccci}==null or ${ccci.modifiedPersonRealName}==null or ${ccci.modifiedPersonRealName}=='' ? '' :${ccci.modifiedPersonRealName}">
                                </td>
                                <td class="ListItem_Center" style="width:150px;" th:text="${ccci}==null or ${ccci.unitName}==null or ${ccci.unitName}=='' ? '' :${ccci.unitName}">
                                </td>
                                <td class="ListItem_Center tdTimes" style="width:100px;" th:text="${ccci}==null or ${ccci.pubDate}==null or ${ccci.pubDate}=='' ? '' :${ccci.pubDate}">
                                </td>
                                <td class="ListItem_Center" style="width:200px;text-align: left;padding-left: 2px;" th:text="${ccci}==null or ${ccci.content}==null or ${ccci.content}=='' ? '' :${ccci.content}">
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
                           </td>
                       </tr>
                     </tbody>
                   </table>
                 </td>
                </tr>
                <!-- <div class="btn-group-sm" id="toolbar" role="group"> onclick="$.operate.remove(\'' + row.proapprovalId + '\')"
                <a style="color:#fff" class="btn btn-primary single" onclick="$.operate.editDemo('/supervise/constructionPermitRecord/edit')">
                    <i class="fa fa-edit"></i> 修改
                </a>
                <a style="color:#fff" class="btn btn-success">
                    <i class="fa fa-download"></i> 打印
                </a>
                <a style="color:#fff" class="btn btn-warning">
                    <i class="fa fa-plus"></i> 备注
                </a>
                <a style="color:#fff" class="btn btn-danger multiple">
                    <i class="fa fa-remove"></i> 撤销
                </a>
                </div> --> 
            </div>
        </div>

	<th:block th:include="include :: footer" />
	<script th:src="@{/js/plugins/datetime/moment.js}"></script>
	<script th:inline="javascript">
		var str = $('#tdTime').text();
		var strTime = moment(str).format('YYYY-MM-DD');
		$('#tdTime').text(strTime);
		/*修改记录: 修改时间  */
		var tdStr = $('.tdTimes');
		for(var i =0;i<tdStr.length;i++){
			var strDate = tdStr[i].innerText;
			tdStr[i].innerText =  moment(strDate,'YYYY-MM-DD').format('YYYY-MM-DD');
		};
	</script>
</body>

</html>